package game.connect4;

import game.PlayerMove;


/**
 * Connect4Move
 * 
 * Represents a move in a Connect 4 game.
 */
public class Connect4Move implements PlayerMove {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	public Connect4Move(int column) {
		this.column = column;
	}
	
	
	/**
	 * Returns the column index where the player wants to insert a new piece.
	 * @return
	 */
	public int getColumn() {
		return this.column;
	}
	
	
	@Override
	public String toString() {
		return "column = " + this.column;
	}
	
	
	private int column; // Column index where the player wants to insert a new piece.
}
